/*
 * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
 * Use of this source code is governed by a MIT license that can be
 * found in the LICENSE file.
 */
#ifndef PROPS_H
#define PROPS_H
#pragma once

#include <jsi/jsi.h>
#include <react/renderer/components/view/ViewProps.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/graphics/Color.h>

namespace facebook {
namespace react {

class JSI_EXPORT RNCProgressBarProps final : public ViewProps {
 public:
  RNCProgressBarProps() = default;
  RNCProgressBarProps(const PropsParserContext& context,
                      const RNCProgressBarProps& sourceProps,
                      const RawProps& rawProps);

#pragma mark - Props
    
    std::string styleAttr{};
    bool indeterminate{false};
    float progress{0.0};
    bool animating{true};
    SharedColor color{};
};

} // namespace react
} // namespace facebook
#endif
